-module(action).
-compile(export_all).

-record(action, {player, command, args}).

new(Player, Command, Args) ->
    #action{player = Player, command = Command, args = Args}.
player(Action) ->
    Action#action.player.
command(Action) ->
    Action#action.command.
args(Action) ->
    Action#action.args.
